#dialog, #container{
    position: relative;
}
/* 顶部 */
nav{
    width: 1280px;
    height: 76px;
    overflow: hidden;
    text-align: center;
    margin: 20px auto;
    padding: 0px 30px;
}
nav>div{
    height: 76px;
    float: left;
}
/* logo */
#logo{
    float: left;
}
#logo>a{
    height: 76px;
}

/* 定位 */
.position{
    width: 115px;
    text-align: center;
    padding: 22px 0px;
}
.icon{
    font-size: 26px;
    vertical-align: middle;
}
nav>.position>a{
    height: 32px;
    color: #e9546b;
    font-weight: bold;
}

/* 导航 */
.nav{
    overflow: hidden;
}
.nav>a{
    float: left;
    width: 120px;
    height: 76px;
    line-height: 74px;
    margin-right: 5px;
}
.nav>a:last-of-type{
    margin: 0;
}
.nav>a:hover, .nav>a.active{
    border-bottom: 2px solid #791a1e;
    color: #791a1e;
}

/* 搜索框 */
.search{
    margin: 0px 40px;
    padding-top: 23px;
}
.search>form{
    overflow: hidden;
}
.search>form>input{
    float: left;
    width: 200px;
    height: 30px;
    font-size: 14px;
    padding: 6px;
    border: 1px solid #ccc;
}
.search>form>a{
    width: 60px;
    height: 30px;
    line-height: 30px;
    background-color: #e95466;
    color: #fff;
    border: none;
}

/* 用户 */
.user{
    padding: 13px 0px;
}
.user>a{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #bc9d9d;
    /* background-color: #f7eee5; */
    padding: 7px;
    color: white;
}
.logined{
    background-color: #e9546b;
}

/* 底部 */
footer{
    min-width: 1280px;
    font-size: 14px;
    background-color: #791a1e;
    color: #fff;
    text-align: center;
}
footer>div>a{
    width: 128px;
    height: 40px;
    line-height: 40px;
    color: #fff;
    font-weight: bold;
}
footer>p{
    height: 22px;
    line-height: 22px;
}

/* 指引 */
#guide{
    position: fixed;
    top: 50%;
    right: 0;
    background-color: #ededed;
}
#guide>a{
    display: block;
    width: 75px;
    height: 75px;
    text-align: center;
    border-bottom: 2px solid #fff;
    color: #999;
    padding: 13px 0px;
    font-size: 14px;
}
#guide>a:last-of-type{
    background-color: #e9546b;
    color: #fff;
    border: none;
}